<template>
  <div class="home">
    首页
  </div>
</template>

<script lang="ts" setup>
import {useRouter} from "vue-router";

const router = useRouter()
console.log(router.currentRoute.value)
</script>
